package com.weiiew.recipeservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weiiew.common.entity.dto.RecipeBuilding;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 魏锴
 * @description 针对表【recipe_building】的数据库操作Mapper
 * @createDate 2024-06-26 22:56:40
 * @Entity com.example.adminBackEnd.Entity.Dao.RecipeBuilding
 */
@Mapper
public interface RecipeBuildingMapper extends BaseMapper<RecipeBuilding> {
    @Delete("delete from recipe_building where recipe_id=#{id}")
    void deleteByRecipe(Long id);
}




